package su.storage.entity;
import java.io.Serializable;
import java.util.Date;
/**
 * 仓库产品 出入库 记录
 * @author Administrator
 *
 */
public class StorageProduct implements Serializable {
	
	private static final long serialVersionUID = 1L;

	/* ID */
	private int  id;
			
	/* 仓库号 */
	private int  storage;
			
	/* 产品Id */
	private int  productid;
			
	/* 出入时间 */
	private Date  flowtime;
			
	/* 库存流向，1入库，2出库 */
	private int  flowtype;
			
	/* 数量 */
	private double  flownum;
			
	/* 当前余量 */
	private double  total;
			
	/* 1购入，2非购入 */
	private int  buy;
			
	/* 供货商id */
	private int  ghsid;
			
	/* 单价 */
	private double  price;
			
	/* 描述 */
	private String  sdesc;
			
	/* 状态，1有效，0删除 */
	private int  status;
			
	/* 原料id */
	private int  materialid;
			
	/* 出库去向 */
	private int  outtype;
			
	/* 入库单号/出库订单id */
	private String  orderid;
	
	/* 产品名称，用于显示及查询 */
	private String productName;
			
	/* 出入库时间，用于修改及查询 */
	private String flowtimeStr;
	
	/* 创建时间 */
	private Date createTime;

	/* 供货商，用于显示 */
	private String ghsname;

	/* 原料名称，用于显示 */
	private String mname;
	
	/* 产品库存，用于显示 */
	private double ptotal;
	

	public double getPtotal() {
		return ptotal;
	}

	public void setPtotal(double ptotal) {
		this.ptotal = ptotal;
	}

	public String getMname() {
		return mname;
	}

	public void setMname(String mname) {
		this.mname = mname;
	}

	public String getGhsname() {
		return ghsname;
	}

	public void setGhsname(String ghsname) {
		this.ghsname = ghsname;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getFlowtimeStr() {
		return flowtimeStr;
	}

	public void setFlowtimeStr(String flowtimeStr) {
		this.flowtimeStr = flowtimeStr;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public int getId() {
		return id;
	}
	
	public void setId(int id) {
		this.id = id;
	}	
	public int getStorage() {
		return storage;
	}
	
	public void setStorage(int storage) {
		this.storage = storage;
	}	
	public int getProductid() {
		return productid;
	}
	
	public void setProductid(int productid) {
		this.productid = productid;
	}	
	public Date getFlowtime() {
		return flowtime;
	}
	
	public void setFlowtime(Date flowtime) {
		this.flowtime = flowtime;
	}	
	public int getFlowtype() {
		return flowtype;
	}
	
	public void setFlowtype(int flowtype) {
		this.flowtype = flowtype;
	}	
	public double getFlownum() {
		return flownum;
	}
	
	public void setFlownum(double flownum) {
		this.flownum = flownum;
	}	
	public double getTotal() {
		return total;
	}
	
	public void setTotal(double total) {
		this.total = total;
	}	
	public int getBuy() {
		return buy;
	}
	
	public void setBuy(int buy) {
		this.buy = buy;
	}	
	public int getGhsid() {
		return ghsid;
	}
	
	public void setGhsid(int ghsid) {
		this.ghsid = ghsid;
	}	
	public double getPrice() {
		return price;
	}
	
	public void setPrice(double price) {
		this.price = price;
	}	
	public String getSdesc() {
		return sdesc;
	}
	
	public void setSdesc(String sdesc) {
		this.sdesc = sdesc;
	}	
	public int getStatus() {
		return status;
	}
	
	public void setStatus(int status) {
		this.status = status;
	}	
	public int getMaterialid() {
		return materialid;
	}
	
	public void setMaterialid(int materialid) {
		this.materialid = materialid;
	}	
	public int getOuttype() {
		return outtype;
	}
	
	public void setOuttype(int outtype) {
		this.outtype = outtype;
	}	
	public String getOrderid() {
		return orderid;
	}
	
	public void setOrderid(String orderid) {
		this.orderid = orderid;
	}	

}

